package com.xnew.entity.memberArchives;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.xnew.bean.common.FileInfo;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
* @Author: Zhozh
* @Description: 营业部信息表
* @DateTime: 2022/5/12
* @Params:
* @Return
*/
@TableName("t10_mem_brn_info")
public class MemBrnInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 营业部信息编号
    */
    @TableId("brn_info_no")
    private String brnInfoNo;

    /**
    * 信息审核状态编号
    */
    private String infsubAuditStatusCode;

    /**
    * 市编号
    */
    private String cityCode;

    /**
    * 机构用户编号
    */
    private String orgUserNo;

    /**
    * 省编号
    */
    private String provCode;

    /**
    * 县编号
    */
    private String cntyCode;

    /**
    * 营业部类型
    */
    private String brnTypeCode;

    /**
    * 营业部名称
    */
    private String brnName;

    /**
    * 工商营业执照号
    */
    private String busilcNo;

    /**
    * 营业许可证编号或批准文号
    */
    private String blaNmb;

    /**
    * 营业部地址
    */
    private String brnAddr;

    /**
    * 邮政编码
    */
    private String zipCode;

    /**
    * 注册资本（万元）
    */
    @TableField("opert_cptl_10thousand")
    private String opertCptl10thousand;

    /**
    * 成立时间
    */
    private String setupDate;

    /**
    * 注册地址
    */
    private String regAddrName;

    /**
    * 员工人数
    */
    private String staffNum;

    /**
    * 有从业资格员工数
    */
    private String haveCrerQlfyNum;

    /**
    * 上交所交易单元号
    */
    private String shseTrdUnitNo;

    /**
    * 深交所交易单元号
    */
    private String szseTrdUnitNo;

    /**
    * 营业部经理
    */
    private String brnMgrName;

    /**
    * 营业面积
    */
    private String businArea;

    /**
    * 客户服务或投诉电话
    */
    private String custCompltTel;

    /**
    * 电子邮箱
    */
    private String brnEml;

    /**
    * 营业部经理资格批准文号
    */
    private String resperPostQlfyAprvNmb;

    /**
    * 所在地证监局投诉电话
    */
    private String areaApraCompltTel;

    /**
    * 营业部经理办公电话
    */
    private String resperOfficeTel;

    /**
    * 营业部经理移动电话
    */
    private String resperMob;

    /**
    * 营业部经理身份证号
    */
    private String resperIdcardNo;

    /**
    * 营业部经理家庭电话
    */
    private String brnMgrHomeTel;

    /**
    * 营业部经理家庭住址
    */
    private String brnMgrHomeAddr;

    /**
    * 联系人
    */
    private String linkmanName;

    /**
    * 联系人办公电话
    */
    private String linkmanOfficeTel;

    /**
    * 联系人传真
    */
    private String linkmanFax;

    /**
    * 联系人移动电话
    */
    private String linkmanMob;

    /**
    * 联系人电子邮件
    */
    private String linkmanEml;

    /**
    * 历史沿革
    */
    private String brnHisevol;

    /**
    * 原所属法人单位
    */
    private String origBeltoLegalUnitName;

    /**
    * 备注
    */
    private String brnInfoRemark;

    /**
    * 注册省市
    */
    private String officeAddrFn;

    /**
    * 营业部信息录入时间
    */
    private String infoInputTime;

    /**
    * 营业部信息更新时间
    */
    private String infoUpdateTime;

    /**
    * 营业部信息录入人
    */
    private String infoInputPsnNo;

    /**
    * 营业部信息更新人
    */
    private String infoUpdatePsnNo;

    /**
    * 是否是关闭状态（1：是 0：否）
    */
    private String isCloseStatus;

    /**
    * 业务范围
    */
    private String respnBusiRange;

    /**
    * 办公地址详细
    */
    private String detailOfficeAddr;

    /**
    * 办公地址用于地图定位坐标
    */
    private String officeAddrMapLocat;

    /**
     * 会员营业部地图信息
     */
    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @TableField(exist = false)
    private MemBrnCoordInfo memBrnCoordInfo;

    @TableField(exist = false)
    private List<FileInfo> fileList;

    @TableField(exist = false)
    private List<AuditLog> auditLogList;


    public List<AuditLog> getAuditLogList() {
        return auditLogList;
    }

    public void setAuditLogList(List<AuditLog> auditLogList) {
        this.auditLogList = auditLogList;
    }


    public MemBrnInfo() {
    }


    @TableField(exist = false)
    private List<MemInfoChgHist> histList;

    public List<MemInfoChgHist> getHistList() {
        return histList;
    }

    public void setHistList(List<MemInfoChgHist> histList) {
        this.histList = histList;
    }

    public String getBrnInfoNo() {
        return brnInfoNo;
    }

    public void setBrnInfoNo(String brnInfoNo) {
        this.brnInfoNo = brnInfoNo;
    }

    public String getInfsubAuditStatusCode() {
        return infsubAuditStatusCode;
    }

    public void setInfsubAuditStatusCode(String infsubAuditStatusCode) {
        this.infsubAuditStatusCode = infsubAuditStatusCode;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getOrgUserNo() {
        return orgUserNo;
    }

    public void setOrgUserNo(String orgUserNo) {
        this.orgUserNo = orgUserNo;
    }

    public String getProvCode() {
        return provCode;
    }

    public void setProvCode(String provCode) {
        this.provCode = provCode;
    }

    public String getCntyCode() {
        return cntyCode;
    }

    public void setCntyCode(String cntyCode) {
        this.cntyCode = cntyCode;
    }

    public String getBrnTypeCode() {
        return brnTypeCode;
    }

    public void setBrnTypeCode(String brnTypeCode) {
        this.brnTypeCode = brnTypeCode;
    }

    public String getBrnName() {
        return brnName;
    }

    public void setBrnName(String brnName) {
        this.brnName = brnName;
    }

    public String getBusilcNo() {
        return busilcNo;
    }

    public void setBusilcNo(String busilcNo) {
        this.busilcNo = busilcNo;
    }

    public String getBlaNmb() {
        return blaNmb;
    }

    public void setBlaNmb(String blaNmb) {
        this.blaNmb = blaNmb;
    }

    public String getBrnAddr() {
        return brnAddr;
    }

    public void setBrnAddr(String brnAddr) {
        this.brnAddr = brnAddr;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public String getOpertCptl10thousand() {
        return opertCptl10thousand;
    }

    public void setOpertCptl10thousand(String opertCptl10thousand) {
        this.opertCptl10thousand = opertCptl10thousand;
    }

    public String getSetupDate() {
        return setupDate;
    }

    public void setSetupDate(String setupDate) {
        this.setupDate = setupDate;
    }

    public String getRegAddrName() {
        return regAddrName;
    }

    public void setRegAddrName(String regAddrName) {
        this.regAddrName = regAddrName;
    }

    public String getStaffNum() {
        return staffNum;
    }

    public void setStaffNum(String staffNum) {
        this.staffNum = staffNum;
    }

    public String getHaveCrerQlfyNum() {
        return haveCrerQlfyNum;
    }

    public void setHaveCrerQlfyNum(String haveCrerQlfyNum) {
        this.haveCrerQlfyNum = haveCrerQlfyNum;
    }

    public String getShseTrdUnitNo() {
        return shseTrdUnitNo;
    }

    public void setShseTrdUnitNo(String shseTrdUnitNo) {
        this.shseTrdUnitNo = shseTrdUnitNo;
    }

    public String getSzseTrdUnitNo() {
        return szseTrdUnitNo;
    }

    public void setSzseTrdUnitNo(String szseTrdUnitNo) {
        this.szseTrdUnitNo = szseTrdUnitNo;
    }

    public String getBrnMgrName() {
        return brnMgrName;
    }

    public void setBrnMgrName(String brnMgrName) {
        this.brnMgrName = brnMgrName;
    }

    public String getBusinArea() {
        return businArea;
    }

    public void setBusinArea(String businArea) {
        this.businArea = businArea;
    }

    public String getCustCompltTel() {
        return custCompltTel;
    }

    public void setCustCompltTel(String custCompltTel) {
        this.custCompltTel = custCompltTel;
    }

    public String getBrnEml() {
        return brnEml;
    }

    public void setBrnEml(String brnEml) {
        this.brnEml = brnEml;
    }

    public String getResperPostQlfyAprvNmb() {
        return resperPostQlfyAprvNmb;
    }

    public void setResperPostQlfyAprvNmb(String resperPostQlfyAprvNmb) {
        this.resperPostQlfyAprvNmb = resperPostQlfyAprvNmb;
    }

    public String getAreaApraCompltTel() {
        return areaApraCompltTel;
    }

    public void setAreaApraCompltTel(String areaApraCompltTel) {
        this.areaApraCompltTel = areaApraCompltTel;
    }

    public String getResperOfficeTel() {
        return resperOfficeTel;
    }

    public void setResperOfficeTel(String resperOfficeTel) {
        this.resperOfficeTel = resperOfficeTel;
    }

    public String getResperMob() {
        return resperMob;
    }

    public void setResperMob(String resperMob) {
        this.resperMob = resperMob;
    }

    public String getResperIdcardNo() {
        return resperIdcardNo;
    }

    public void setResperIdcardNo(String resperIdcardNo) {
        this.resperIdcardNo = resperIdcardNo;
    }

    public String getBrnMgrHomeTel() {
        return brnMgrHomeTel;
    }

    public void setBrnMgrHomeTel(String brnMgrHomeTel) {
        this.brnMgrHomeTel = brnMgrHomeTel;
    }

    public String getBrnMgrHomeAddr() {
        return brnMgrHomeAddr;
    }

    public void setBrnMgrHomeAddr(String brnMgrHomeAddr) {
        this.brnMgrHomeAddr = brnMgrHomeAddr;
    }

    public String getLinkmanName() {
        return linkmanName;
    }

    public void setLinkmanName(String linkmanName) {
        this.linkmanName = linkmanName;
    }

    public String getLinkmanOfficeTel() {
        return linkmanOfficeTel;
    }

    public void setLinkmanOfficeTel(String linkmanOfficeTel) {
        this.linkmanOfficeTel = linkmanOfficeTel;
    }

    public String getLinkmanFax() {
        return linkmanFax;
    }

    public void setLinkmanFax(String linkmanFax) {
        this.linkmanFax = linkmanFax;
    }

    public String getLinkmanMob() {
        return linkmanMob;
    }

    public void setLinkmanMob(String linkmanMob) {
        this.linkmanMob = linkmanMob;
    }

    public String getLinkmanEml() {
        return linkmanEml;
    }

    public void setLinkmanEml(String linkmanEml) {
        this.linkmanEml = linkmanEml;
    }

    public String getBrnHisevol() {
        return brnHisevol;
    }

    public void setBrnHisevol(String brnHisevol) {
        this.brnHisevol = brnHisevol;
    }

    public String getOrigBeltoLegalUnitName() {
        return origBeltoLegalUnitName;
    }

    public void setOrigBeltoLegalUnitName(String origBeltoLegalUnitName) {
        this.origBeltoLegalUnitName = origBeltoLegalUnitName;
    }

    public String getBrnInfoRemark() {
        return brnInfoRemark;
    }

    public void setBrnInfoRemark(String brnInfoRemark) {
        this.brnInfoRemark = brnInfoRemark;
    }

    public String getOfficeAddrFn() {
        return officeAddrFn;
    }

    public void setOfficeAddrFn(String officeAddrFn) {
        this.officeAddrFn = officeAddrFn;
    }

    public String getInfoInputTime() {
        return infoInputTime;
    }

    public void setInfoInputTime(String infoInputTime) {
        this.infoInputTime = infoInputTime;
    }

    public String getInfoUpdateTime() {
        return infoUpdateTime;
    }

    public void setInfoUpdateTime(String infoUpdateTime) {
        this.infoUpdateTime = infoUpdateTime;
    }

    public String getInfoInputPsnNo() {
        return infoInputPsnNo;
    }

    public void setInfoInputPsnNo(String infoInputPsnNo) {
        this.infoInputPsnNo = infoInputPsnNo;
    }

    public String getInfoUpdatePsnNo() {
        return infoUpdatePsnNo;
    }

    public void setInfoUpdatePsnNo(String infoUpdatePsnNo) {
        this.infoUpdatePsnNo = infoUpdatePsnNo;
    }

    public String getIsCloseStatus() {
        return isCloseStatus;
    }

    public void setIsCloseStatus(String isCloseStatus) {
        this.isCloseStatus = isCloseStatus;
    }

    public String getRespnBusiRange() {
        return respnBusiRange;
    }

    public void setRespnBusiRange(String respnBusiRange) {
        this.respnBusiRange = respnBusiRange;
    }

    public String getDetailOfficeAddr() {
        return detailOfficeAddr;
    }

    public void setDetailOfficeAddr(String detailOfficeAddr) {
        this.detailOfficeAddr = detailOfficeAddr;
    }

    public String getOfficeAddrMapLocat() {
        return officeAddrMapLocat;
    }

    public void setOfficeAddrMapLocat(String officeAddrMapLocat) {
        this.officeAddrMapLocat = officeAddrMapLocat;
    }

    public MemBrnCoordInfo getMemBrnCoordInfo() {
        return memBrnCoordInfo;
    }

    public void setMemBrnCoordInfo(MemBrnCoordInfo memBrnCoordInfo) {
        this.memBrnCoordInfo = memBrnCoordInfo;
    }

    public List<FileInfo> getFileList() {
        return fileList;
    }

    public void setFileList(List<FileInfo> fileList) {
        this.fileList = fileList;
    }

    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @TableField(exist = false)
    private Map<String, Object> dictNameResult = new HashMap<String, Object>();

    public Map<String, Object> getDictNameResult() {
        return dictNameResult;
    }

    public void setDictNameResult(Map<String, Object> dictNameResult) {
        this.dictNameResult = dictNameResult;
    }

    //数据字典
    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public String[] buildIncludeField(){
        return new String[]{"infsubAuditStatusCode","brnTypeCode","auditLogList"};
    }

    /*数据字典*/
    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public String[] buildIncludeType(){
        return new String[]{"DG0149","DG0156","LIST"};
    }
}